﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lexer
{
    class Program
    {
        static void Main(string[] args)
        {
            MyLexer lexer = new MyLexer(@" 
//jljlkj
/*dlfkjl
asdj*/
                1<=3.9 
                if flag==true then show ""hello""
            ");


            var token = lexer.Scan();

            while (token.Tag != Tag.EOF)
            {
                Console.WriteLine("<{0},{1}>", token.Tag.ToString(), token.ToString());
                token = lexer.Scan();
            }
        }
    }
}
